import pygame
from pygame.locals import *
import Scene

class Game:
    def __init__(self):
        pygame.init()
        self.screen = pygame.display.set_mode((800, 600), 0, 32)
        pygame.display.set_caption("Client")
        self.clock = pygame.time.Clock()
        self.scene = Scene.Scene(self.screen)

    def Run(self):
        while True:
            self.clock.tick(30)
            ticks = pygame.time.get_ticks()
            self.scene.ProcKey(ticks)
            self.scene.Update(ticks)


g = Game()
g.Run()
